// @ts-ignore
/* eslint-disable */
import { request } from "../../utils/request";


/** 获取 配置 通讯录 树形结构  */
export async function treeInstructAddress(options?: { [key: string]: any }) {
  return request<BaseResponseBean.response<UserData.Organization[]>>('/instruct/address/tree', {
    method: 'POST',
    data: options || {},
  });
}

/** 初始化选题配置 */
export async function initInstructAddressEdit(options?: { [key: string]: any }) {
  return request<BaseResponseBean.response<InstructAddressData.AddressVo>>(
    '/instruct/address/edit/init',
    {
      method: 'POST',
      data: options || {},
    },
  );
}

/** 初始化选题配置 */
export async function saveInstructAddressEdit(options?: { [key: string]: any }) {
  return request<BaseResponseBean.response<InstructAddressData.AddressVo>>(
    '/instruct/address/edit/save',
    {
      method: 'POST',
      data: options || {},
    },
  );
}
